package com.qwc.blog.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @author qwc
 * @Date 2021/11/1 14:11
 */
@Data
public class TreeSelect {

    private Integer id;
    private String label;

    @JsonIgnore
    private Integer pid;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<TreeSelect> children;
}
